CLONE SPRITE

This command will clone the specified sprite to the target sprite number.

  Syntax
CLONE SPRITE Sprite Number, Destination Sprite Number
  Parameters
Sprite Number
Integer
The sprite number
Destination Sprite Number
Integer
The cloned sprite number sharing all the settings of the original sprite

  Returns

This command does not return a value.

  Description

A cloned sprite shares all the settings of the original sprite, and once created can be modified as a sprite in its own right. The parameters should be specified using integer values.

  Example Code
load image "manwalking.bmp",1
cls
sprite 1,100,100,1
clone sprite 1,2
sprite 2,200,200,1
do
loop
end
  See also

SPRITE Commands Menu
Index